<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.Plots.LinearTrendLine Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_plots_1_1_linear_trend_line.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.Plots.LinearTrendLine Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A plot element that draws a linear trendline with equation <code>y = a * x + b</code>.   
 <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.Plots.LinearTrendLine:</div>
<div class="dyncontent">
<div class="center"><img src="class_vect_sharp_1_1_plots_1_1_linear_trend_line__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_plots_8_linear_trend_line_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_plots_8_linear_trend_line_inherit__map" id="a_vect_sharp_8_plots_8_linear_trend_line_inherit__map">
<area shape="rect" title="A plot element that draws a linear trendline with equation y = a * x + b." alt="" coords="5,79,217,104"/>
<area shape="rect" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html" title="Represents a plot element." alt="" coords="63,5,159,31"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a314e5b2ca0aa7fc4f2bd6426fa6369b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a314e5b2ca0aa7fc4f2bd6426fa6369b4">LinearTrendLine</a> (double slope, double intercept, double minX, double minY, double maxX, double maxY, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> coordinateSystem)</td></tr>
<tr class="memdesc:a314e5b2ca0aa7fc4f2bd6426fa6369b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, specifying the equation parameters.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a314e5b2ca0aa7fc4f2bd6426fa6369b4">More...</a><br /></td></tr>
<tr class="separator:a314e5b2ca0aa7fc4f2bd6426fa6369b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af07ec3763b0eec560500ad9dc3b69c07"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#af07ec3763b0eec560500ad9dc3b69c07">LinearTrendLine</a> (IReadOnlyList&lt; IReadOnlyList&lt; double &gt; &gt; data, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> coordinateSystem, double? fixedIntercept=null)</td></tr>
<tr class="memdesc:af07ec3763b0eec560500ad9dc3b69c07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, determining the equation parameters by running a regression.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#af07ec3763b0eec560500ad9dc3b69c07">More...</a><br /></td></tr>
<tr class="separator:af07ec3763b0eec560500ad9dc3b69c07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b1ccc7e9f8261c4fe92c6b4323244f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a3b1ccc7e9f8261c4fe92c6b4323244f0">LinearTrendLine</a> (IReadOnlyList&lt;(double, double)&gt; data, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> coordinateSystem, double? fixedIntercept=null)</td></tr>
<tr class="memdesc:a3b1ccc7e9f8261c4fe92c6b4323244f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, determining the equation parameters by running a regression.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a3b1ccc7e9f8261c4fe92c6b4323244f0">More...</a><br /></td></tr>
<tr class="separator:a3b1ccc7e9f8261c4fe92c6b4323244f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c18ce5f5d633fa646427edb1a7cd0aa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a2c18ce5f5d633fa646427edb1a7cd0aa">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:a2c18ce5f5d633fa646427edb1a7cd0aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
  <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a2c18ce5f5d633fa646427edb1a7cd0aa">More...</a><br /></td></tr>
<tr class="separator:a2c18ce5f5d633fa646427edb1a7cd0aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a245cbde8d8059a46690bd3b32b1cf903"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:a245cbde8d8059a46690bd3b32b1cf903"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">More...</a><br /></td></tr>
<tr class="separator:a245cbde8d8059a46690bd3b32b1cf903"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:acff35f38d8de70b56fa30facaaf48e77"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#acff35f38d8de70b56fa30facaaf48e77">Slope</a><code> [get, set]</code></td></tr>
<tr class="memdesc:acff35f38d8de70b56fa30facaaf48e77"><td class="mdescLeft">&#160;</td><td class="mdescRight">The slope of the trendline (a).   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#acff35f38d8de70b56fa30facaaf48e77">More...</a><br /></td></tr>
<tr class="separator:acff35f38d8de70b56fa30facaaf48e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6373f4c3bfad82d479c33e5c051f3be5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a6373f4c3bfad82d479c33e5c051f3be5">Intercept</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a6373f4c3bfad82d479c33e5c051f3be5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The intercept of the trendline (b).   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a6373f4c3bfad82d479c33e5c051f3be5">More...</a><br /></td></tr>
<tr class="separator:a6373f4c3bfad82d479c33e5c051f3be5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3def01e4489d04415dc16fd6faae767c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a3def01e4489d04415dc16fd6faae767c">MinX</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a3def01e4489d04415dc16fd6faae767c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The minimum X value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a3def01e4489d04415dc16fd6faae767c">More...</a><br /></td></tr>
<tr class="separator:a3def01e4489d04415dc16fd6faae767c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a035a48c88b60a2ea85d6cf7fe440d0a2"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a035a48c88b60a2ea85d6cf7fe440d0a2">MinY</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a035a48c88b60a2ea85d6cf7fe440d0a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The minimum Y value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a035a48c88b60a2ea85d6cf7fe440d0a2">More...</a><br /></td></tr>
<tr class="separator:a035a48c88b60a2ea85d6cf7fe440d0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9be187d15d94f0993f44739a1dab4eea"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a9be187d15d94f0993f44739a1dab4eea">MaxX</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9be187d15d94f0993f44739a1dab4eea"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum X value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a9be187d15d94f0993f44739a1dab4eea">More...</a><br /></td></tr>
<tr class="separator:a9be187d15d94f0993f44739a1dab4eea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26eb096fa368b92c5fedc77adb7f72c6"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a26eb096fa368b92c5fedc77adb7f72c6">MaxY</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a26eb096fa368b92c5fedc77adb7f72c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum Y value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a26eb096fa368b92c5fedc77adb7f72c6">More...</a><br /></td></tr>
<tr class="separator:a26eb096fa368b92c5fedc77adb7f72c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ae50e53ef1264756b40ede271c96239"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a3ae50e53ef1264756b40ede271c96239">PresentationAttributes</a> = new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>() { <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a> = new <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a>(5, 5, 0), Stroke = <a class="el" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">Colour.FromRgb</a>(180, 180, 180) }<code> [get, set]</code></td></tr>
<tr class="memdesc:a3ae50e53ef1264756b40ede271c96239"><td class="mdescLeft">&#160;</td><td class="mdescRight">Presentation attributes for the trendline.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a3ae50e53ef1264756b40ede271c96239">More...</a><br /></td></tr>
<tr class="separator:a3ae50e53ef1264756b40ede271c96239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a957f9eb5f827a5d4e870d59fa461fea0"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a957f9eb5f827a5d4e870d59fa461fea0">Tag</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a957f9eb5f827a5d4e870d59fa461fea0"><td class="mdescLeft">&#160;</td><td class="mdescRight">A tag to identify the trendline in the plot.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#a957f9eb5f827a5d4e870d59fa461fea0">More...</a><br /></td></tr>
<tr class="separator:a957f9eb5f827a5d4e870d59fa461fea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5bffbd2a796e6d722c6c36776b4a5b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#af5bffbd2a796e6d722c6c36776b4a5b6">CoordinateSystem</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af5bffbd2a796e6d722c6c36776b4a5b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html#af5bffbd2a796e6d722c6c36776b4a5b6">More...</a><br /></td></tr>
<tr class="separator:af5bffbd2a796e6d722c6c36776b4a5b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td colspan="2" onclick="javascript:toggleInherit('properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html">VectSharp.Plots.IPlotElement</a></td></tr>
<tr class="memitem:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">CoordinateSystem</a><code> [get]</code></td></tr>
<tr class="memdesc:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">More...</a><br /></td></tr>
<tr class="separator:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A plot element that draws a linear trendline with equation <code>y = a * x + b</code>.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00031">31</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a314e5b2ca0aa7fc4f2bd6426fa6369b4" name="a314e5b2ca0aa7fc4f2bd6426fa6369b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a314e5b2ca0aa7fc4f2bd6426fa6369b4">&#9670;&#160;</a></span>LinearTrendLine() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.LinearTrendLine.LinearTrendLine </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>slope</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>intercept</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, specifying the equation parameters.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slope</td><td>The slope of the trendline (a).</td></tr>
    <tr><td class="paramname">intercept</td><td>The intercept of the trendline (b).</td></tr>
    <tr><td class="paramname">minX</td><td>The minimum X value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">minY</td><td>The minimum Y value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">maxX</td><td>The maximum X value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">maxY</td><td>The maximum Y value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00089">89</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="af07ec3763b0eec560500ad9dc3b69c07" name="af07ec3763b0eec560500ad9dc3b69c07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af07ec3763b0eec560500ad9dc3b69c07">&#9670;&#160;</a></span>LinearTrendLine() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.LinearTrendLine.LinearTrendLine </td>
          <td>(</td>
          <td class="paramtype">IReadOnlyList&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double?&#160;</td>
          <td class="paramname"><em>fixedIntercept</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, determining the equation parameters by running a regression.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The data that will be used to determine the equation parameters.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
    <tr><td class="paramname">fixedIntercept</td><td>If this is <code>null</code>, the intercept (b) is determined during the regression; otherwise, it is fixed to the specified value.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00106">106</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a3b1ccc7e9f8261c4fe92c6b4323244f0" name="a3b1ccc7e9f8261c4fe92c6b4323244f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b1ccc7e9f8261c4fe92c6b4323244f0">&#9670;&#160;</a></span>LinearTrendLine() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.LinearTrendLine.LinearTrendLine </td>
          <td>(</td>
          <td class="paramtype">IReadOnlyList&lt;(double, double)&gt;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double?&#160;</td>
          <td class="paramname"><em>fixedIntercept</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, determining the equation parameters by running a regression.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The data that will be used to determine the equation parameters.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
    <tr><td class="paramname">fixedIntercept</td><td>If this is <code>null</code>, the intercept (b) is determined during the regression; otherwise, it is fixed to the specified value.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00154">154</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2c18ce5f5d633fa646427edb1a7cd0aa" name="a2c18ce5f5d633fa646427edb1a7cd0aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c18ce5f5d633fa646427edb1a7cd0aa">&#9670;&#160;</a></span>Plot()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.Plots.LinearTrendLine.Plot </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
 </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00157">157</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="af5bffbd2a796e6d722c6c36776b4a5b6" name="af5bffbd2a796e6d722c6c36776b4a5b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5bffbd2a796e6d722c6c36776b4a5b6">&#9670;&#160;</a></span>CoordinateSystem</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> VectSharp.Plots.LinearTrendLine.CoordinateSystem</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The coordinate system used to transform the points from data space to plot space.  </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00076">76</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a6373f4c3bfad82d479c33e5c051f3be5" name="a6373f4c3bfad82d479c33e5c051f3be5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6373f4c3bfad82d479c33e5c051f3be5">&#9670;&#160;</a></span>Intercept</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.LinearTrendLine.Intercept</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The intercept of the trendline (b).  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00041">41</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a9be187d15d94f0993f44739a1dab4eea" name="a9be187d15d94f0993f44739a1dab4eea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9be187d15d94f0993f44739a1dab4eea">&#9670;&#160;</a></span>MaxX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.LinearTrendLine.MaxX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The maximum X value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00056">56</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a26eb096fa368b92c5fedc77adb7f72c6" name="a26eb096fa368b92c5fedc77adb7f72c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26eb096fa368b92c5fedc77adb7f72c6">&#9670;&#160;</a></span>MaxY</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.LinearTrendLine.MaxY</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The maximum Y value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00061">61</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a3def01e4489d04415dc16fd6faae767c" name="a3def01e4489d04415dc16fd6faae767c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3def01e4489d04415dc16fd6faae767c">&#9670;&#160;</a></span>MinX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.LinearTrendLine.MinX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The minimum X value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00046">46</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a035a48c88b60a2ea85d6cf7fe440d0a2" name="a035a48c88b60a2ea85d6cf7fe440d0a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a035a48c88b60a2ea85d6cf7fe440d0a2">&#9670;&#160;</a></span>MinY</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.LinearTrendLine.MinY</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The minimum Y value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00051">51</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a3ae50e53ef1264756b40ede271c96239" name="a3ae50e53ef1264756b40ede271c96239"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ae50e53ef1264756b40ede271c96239">&#9670;&#160;</a></span>PresentationAttributes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a> VectSharp.Plots.LinearTrendLine.PresentationAttributes = new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>() { <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a> = new <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a>(5, 5, 0), Stroke = <a class="el" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">Colour.FromRgb</a>(180, 180, 180) }</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Presentation attributes for the trendline.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00066">66</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="acff35f38d8de70b56fa30facaaf48e77" name="acff35f38d8de70b56fa30facaaf48e77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acff35f38d8de70b56fa30facaaf48e77">&#9670;&#160;</a></span>Slope</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.LinearTrendLine.Slope</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The slope of the trendline (a).  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00036">36</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a957f9eb5f827a5d4e870d59fa461fea0" name="a957f9eb5f827a5d4e870d59fa461fea0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a957f9eb5f827a5d4e870d59fa461fea0">&#9670;&#160;</a></span>Tag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string VectSharp.Plots.LinearTrendLine.Tag</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A tag to identify the trendline in the plot.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00071">71</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp.Plots/<a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_plots.html">Plots</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html">LinearTrendLine</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
